<template>
	<view>
		<view class="smart-panel-head">
			<view class="smart-panel-head-title ">navigator</view>
		</view>
		<view class="uni-padding-wrap uni-common-mt">
			<view class="uni-btn-v">
				<navigator url="/pages/components/navigate/navigate?User=zhangsan&userid=666">
					<button type="default">跳转到新页面</button>
				</navigator>
				<navigator url="/pages/components/redirect/redirect?title=redirect" open-type="redirect">
					<button type="default">在当前页打开</button>
				</navigator>
				<navigator v-if="!hasLeftWin" url="/pages/tabBar/tabcompage/tabcompage" open-type="switchTab">
					<button type="default">跳转tab页面</button>
				</navigator>
				<navigator url="/pages/components/Life cycle/Life cycle">
					<button>页面生命周期测试</button>
				</navigator>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
